const mock = {
  data() {
    return {
      excludeListener: ['load']
    }
  },
  created() {
    this.onLoad()
  },
  methods: {
    setMockData(data) {
      setTimeout(() => {
        this.$set(this.$attrs, 'list', data.list)
        this.$set(this.$attrs, 'total', data.list.length)
        this.$forceUpdate()
      }, 100)
    }
  }
}

export default mock
